<!DOCTYPE html>
<html lang="en">  
    <head>  
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>ms-include-src</title>    
        <script src="avalon.js"></script>
        <script>
           
            var model = avalon.define("xxx", function(vm) {
               
                vm.array = [{top: "eee", tmpl:"index_include-src2.html"}]
               
            })
           
        </script>
    </head>  
    <body ms-controller="xxx">  
        <div ms-each-el="array">
            <div ms-include-src="el.tmpl"></div>
        </div>
        <div>{{array[0].top}}</div>
    </body>  
</html> 